const arr = [1, 2, 3, [1, 2, 3, 4]]
console.log(arr.concat([]), arr);
console.log(arr.join('-'), arr);
console.log(arr.flat(), arr);
console.log(arr.filter((item) => item % 2 == 0), arr);
// map flatMap slice
